using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.WebApi.Entities
{
    /// <summary>
    /// 活动用户
    /// </summary>
    public class ActivityUser : BaseEntity
    {
        /// <summary>
        /// 活动ID
        /// </summary>
        public Guid ActivityId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 报名状态：1报名中、2已报名、5已拒绝、9已取消
        /// </summary>
        public GameJoinStateEnum JoinState { get; set; }

        /// <summary>
        /// 报名人ID
        /// </summary>
        public Guid JoinUserId { get; set; }

        /// <summary>
        /// 比赛活动ID
        /// </summary>
        public Guid GameOrderId { get; set; }

        /// <summary>
        /// 支付状态
        /// </summary>
        public PayOrderStateEnum PayState { get; set; }

        /// <summary>
        /// 是否是临时会员
        /// </summary>
        public bool IsTemp { get; set; }
    }
}
